High-speed calibration method and system for an image-capture apparatus

ABSTRACT

The present invention provides a calibration method and circuit for outputting an average calibration value used in an image-capture apparatus. The calibration circuit comprises difference means accepting a plurality of digital signals from capturing a pixel of a calibration chart. The difference means is for operating each digital signal with subtracting a base value, and whereby filters any aberrant digital signal. Divider means accepts the digital signals for operating each digital signal with dividing a number of scanned times, and whereby prevents an operation of any signal from overflowing. Direct average means accepts the digital signals for summing the digital signals and then divides the number of scanned times, and whereby speeds a calibration operation.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The invention relates to a calibration method and system, and more particularly to a high-speed calibration method and system for a scanner.

[0003] 2. Description of the Prior Art

[0004] A problem prevalent in image scanning or digitizing systems is the requirement for a calibration operation in order to correct for non-uniformities therein prior to use. Generally, in beam scanning systems and plural element scanning systems, such as charge-coupled devices (CCDs), the sensor(s) must be calibrated. Calibration of a sensor offset is directed to determining the level of the signal in response to reflective or non-reflective regions of the document, for example a black region in a black-and-white document. Calibration also is directed to characterizing the gain of the sensor over a range of reflectance so as to adequately adjust any amplification of the signal to maximize the dynamic range thereof.

[0005] In systems employing plural element scanning devices, such as charge-coupled devices, for viewing by raster scanning an original, the output signal produced by the CCD includes a potential attributable to the inherent operating characteristics of the CCD. To restore the image output signal of the CCD to a true or absolute value, the potential derived from the CCD, referred to as the offset potential or signal, must be removed from the image signal. However, if the offset signal that is removed is greater or less than the actual offset signal, a noticeable aberration or distortion in the image output signal may result. Since the operating characteristics of a CCD often vary widely from one CCD to another and even vary from time to time for the same CCD or for different integration rates, the accurate determination of the offset signal to be removed is often difficult. The problem is further complicated in systems where multiple CCDs are employed.

[0006] Heretofore, various apparatus and methods have been developed to address the sensor characterization problem, some of which are described in the following disclosures which may be relevant:

[0007] U.S. Pat. No. 3,586,772 to Hardin, issued Jun. 22, 1971, discloses an optical character reader which employs a clipping level determined as a function of black and white peaks detected during a normalization scan.

[0008] U.S. Pat. No. 4,555,732 to Tuhro, issued Nov. 26, 1985, is another example of a device that corrects for offset and gain drift. Tuhro discloses an image sensor correction system which maintains the offset voltages in the shift registers of a multi-channel image sensor substantially equal. U.S. Pat. No. 4,555,732 discloses that a pair of control gates permits sampling the current offset voltages in the shift register of each channel to provide an adjusted potential for balancing any differences between the shift registers. Specifically described is a device that compares the various offsets of a plurality of shift registers and determines a single offset potential to be applied to each shift register according to the comparison.

[0009] However, notwithstanding various calibration methods are applied, there are still other noticeable problems during calibration, for example, the memory and time for calibration. Especially, the more complex the calibration method is, the more the consumption of time and memory is. FIG. 1 is a flow chart illustrating the calibration method in accordance with the prior art. The image scanning system first captures calibration information from a calibration chart (step 110). The scanned calibration information is first saved in the calibration memory (step 120). Next, the calibration information is read and operated by the CPU of a host computer (step 130). When the calibration information is captured with multitude times, the reading and operation by the host computer may spend much time. When the host computer implements the calculation and operation for the calibration information, it may first transmit the normalized calibration information into the calibration memory (step 140). Accordingly, the calibration with the host computer spends much memory and operation time. Thus, the reduction of memory and time for calibration is very important for a high-speed scanner.

SUMMARY OF THE INVENTION

[0010] It is an object of the present invention to provide a calibration method for an image scanning system. A calibration chart is scanned at multitudes of times for capturing multi-time scanned video signals for the calibration method.

[0011] It is another object of the present invention to provide a calibration method and system for an image scanning system. The calibration system can accept multi-time scanned video signal and provide high-speed operation of the calibration to generate more precise calibration data for reducing the effects of aberrant factors.

[0012] It is yet an object of the present invention to provide a high-speed calibration method and system for an image scanning system. The calibration method and system reduce the consumption of memory and time for calibration process.

[0013] The present invention provides a calibration method and circuit for outputting an average calibration value used in an image-capture apparatus. The calibration circuit comprises difference means accepting a plurality of digital signals from capturing a pixel of a calibration chart. The difference means is for operating each digital signal with subtracting a base value, and whereby filters any aberrant digital signal. Divider means accepts the digital signals for operating each digital signal with dividing a number of scanned times, and whereby prevents an operation of any signal from overflowing. Direct average means accepts the digital signals for summing the digital signals and then divides the number of scanned times, and whereby speeds a calibration operation.

BRIEF DESCRIPTION OF THE DRAWINGS

[0014] A better understanding of the invention may be derived by reading the following detailed description with reference to the accompanying drawing wherein:

[0015]FIG. 1 is a flow chart illustrating the calibration method in accordance with the prior art;

[0016]FIG. 2 illustrates a block diagram showing a main part of the color image scanning device of the present invention;

[0017]FIG. 3 is a block diagram illustrating details of the calibrating operation circuit in accordance with the present invention; and

[0018]FIG. 4 is a flow chart illustrating the calibration method in accordance with the present invention.

DESCRIPTION OF THE PREFERRED EMBODIMENT

[0019] The calibration method of the present invention is applicable to a board range of image-capture apparatus and various objective articles. While the invention is described in terms of a single preferred embodiment, those skilled in the art will recognize that many steps described below can be altered without departing from the spirit and scope of the invention.

[0020] Furthermore, shown is a representative portion of the calibration of the present invention. The drawings are not necessarily to scale for clarity of illustration and should not be interpreted in a limiting sense. Accordingly, these articles may have dimensions, including length, width and depth, when scanned in an actual apparatus.

[0021] In the present invention, a calibration system used in a scanner comprises memory means for storing at least a first digital signal from scanning a pixel of calibration chart by a first time. Difference means accepts the first digital signal and at least a second digital signal from scanning the pixel. The difference means is for operating a first summation of the first digital signal subtracting a base value and the second digital signal subtracting the base value. The difference means is also for replacing the first digital signal in the memory means by the first summation, and whereby filters any aberrant digital signal. Divider means is for getting a second summation of the first digital signal divided by a number of scanned times and the second digital signal divided by the number of scanned times. The divider means is also for replacing the first digital signal in the memory means by the second summation, and whereby prevents an operation of any signal from overflowing. Direct average means is for getting a third summation of the first digital signal and the second digital signal, and is for replacing said first digital signal in the memory means by the third summation, and whereby speeds a calibration operation.

[0022]FIG. 2 illustrates a block diagram showing a main part of the color image scanning device 5 of the present invention. A reference numeral 10 designates a photo-sensor array, such as a CCD sensor array that scans a calibration chart. In the embodiment, the CCD sensor array consists of CCD elements aligned. Furthermore, the calibration chart consists of multitudes of pixels that are aligned one or more lines. The color image scanning device 5 employs the CCD sensor array to convert light reflected from the calibration chart to a plurality of electrical signals. Each CCD element may be employed to produce video signals wherein each video signal represents an associated pixel of the calibration chart as a greyscale level within a predetermined range. In the present invention, each CCD element reads the any pixel for many times to output signals of multi-time scanning for calibration.

[0023] The video signals of the general 16 bits are transmitted into a calibrating operation circuit 12 through an A/D conversion circuit 11. As a key step of the present invention, cooperating with a main memory zone 14 and only utilizing the length of 2 bytes, the calibrating operation circuit 12 provides simultaneously operating video signals of multi-time scanning with hardware circuit instead of conventional software calculation utilizing the length of 3 bytes, which speeds the calibration acquirement and operation. In the embodiment, the calibrating operation circuit 12 cooperates with a memory zone for calibration 15 in the main memory zone 14 and operates the video signals of multi-time scanning. Furthermore, the calibrating operation circuit 12 is built in any application specific integrated circuit. Of course in the main memory zone 14, there are other memory zones for other functions, such as a memory zone for correction 16. Next, the calibrating operation circuit 12 outputs averagely calibrating video signals to a subsequent correction circuit 13 for general correction process, such as shading correction. The correction circuit 13 also cooperates with the main memory zone 14

[0024]FIG. 3 is a block diagram illustrating details of the calibrating operation circuit 12 of FIG. 2 cooperating with the memory zone for calibration 15 of FIG. 2. The video signals of multi-time scanning are transmitted into a line DC circuit 20 for removing a suitable DC bias voltage. Next, the present invention provides multitudes of operation circuits for the video signals, such as a difference circuit 21, a shift divider circuit 22, and a summation circuit 23. Each operation circuit can be optional for requirement and solely operate the video signals. Through cooperating with defaulted or primary information stored in the memory zone for calibration 24, each operation circuit can fast operate the video signals of multi-time scanning to get an averaged video signal. Each operation circuit operating the video signals of multi-time scanning is explained as following.

[0025] First, the CCD sensor array has multitudes of linear sensor array that each consists of “m” amount of CCD. A pre-determined calibration chart consists of “m” amount of pixels aligned in a line. Each linear sensor array may scan the pre-determined calibration chart at “n” times or “n” time period. In the embodiment, any linear sensor array, such as a red channel, for example, VD_(R)(n,m) represents the video data of red channel from scanning the m_(th) pixel by the m_(th) CCD at the n_(th) time scanning. Initially, the series of video signals through A/D conversion are presented as VD_(R)(1,1), VD_(R)(1,2), VD_(R)(1,3), . . . , and VD_(R)(1,m), are transmitted into the difference circuit 21. Central value (accurate medium value) or a base value (offset-operating medium value) “BV_(m)” is obtained from VD_(R)(1,m), VD_(R)(2,m), VD_(R)(3,m), . . . , and VD_(R)(n,m) for the m_(th) pixel, and stored in a base value bank 25. For the first pixel (or CCD), the individual difference values (VD_(R)(1,1)−BV₁), (VD_(R)(2,1)−BV₁), (VD_(R)(3,1)−BV₁), . . . , and (VD_(R)(n,1)−BV₁), are stored in a calibration bank 28. Furthermore, a level-range value is set for checking the video signals to be within a reasonable bandwidth or not.

[0026] For the subsequent video signals, for example, VD^(R)(2,1), VD_(R)(2,2), VD_(R)(2,3), . . . , and VD_(R)(2,m) through the line DC circuit 20, the difference circuit 21 compares VD_(R)(2,1), VD_(R)(2,2), VD_(R)(2,3), . . . , and VD_(R)(2,m) with the level-range value and BV₁, BV₂, . . . , and BV_(m). For VD_(R)(2,1), the difference circuit 21 outputs the difference value between VD_(R)(2,1) and BV₁ on the condition of the difference value smaller than 2 times level-range value, or outputs the level-range value. Thus, the difference circuit 21 prevents the aberrant video signals from being operated to result in distorted values. Then the output values (VD_(R)(2,1)−BV₁), (VD_(R)(2,2)−BV₂), (VD_(R)(2,3)−BV₃), . . . , and (VD_(R)(2,m)−BV_(m)), are individually added to (VD_(R)(1,1)−BV₁), (VD_(R)(1,2)−BV₂), (VD_(R)(1,3)−BV₃), . . . , and (VD_(R)(1,m)−BV_(m)), which replace (VD_(R)(1,1)−BV₁), (VD_(R)(1,2)−BV₂), (VD_(R)(1,3)−BV₃), . . . , and (VD_(R)(1,m)−BV_(m)) originally stored in the calibration bank 28. Thus, for the m_(th) pixel scanned with n times, a “DiffSum(m)” represents the summation of (VD_(R)(1,m)−BV_(m)), (VD_(R)(2,m)−BV_(m)), (VD_(R)(3,m)−BV_(m)), . . . , and (VD_(R)(n,m)−BV_(m)) and the averagely calibrating value for the m_(th) pixel is the summation of BV_(m) and (DiffSum(m)/n). One of advantages of the difference circuit 21 can prevent the operation or values stored in the memory from overflowing or truncation.

[0027] Cooperating with a difference bank 26 in the memory of calibration 24, the shift divider circuit 22 provides the operations of the truncated average and round-value average values for the averagely calibrating values of the pixels (or CCDs). The truncated average for the m_(th) pixel scanned with n times is a summation of (VD_(R)(1,m)/n), (VD_(R)(2,m)/n), (VD_(R)(3,m)/n), . . . , and (VD_(R)(n,m)/n). One the other hand, the round-value average for the m_(th) pixel scanned with n times is a summation of ((VD_(R)(1,m)+DC)/n), ((VD_(R)(2,m)+DC)/n), ((VD_(R)(3,m)+DC)/n), . . . , and ((VD_(R)(n,m)+DC)/n) where DC value may be an assigned or pre-determined parameter stored in the difference bank 26. One of advantages of the truncated average or round-valued average also prevents the averagely calibrating values of the pixels (or CCDs) from overflowing during the operation. Furthermore, the other advantage of the round-valued average can the more precise averagely calibrating values of the pixels (or CCDs).

[0028] Furthermore, cooperating with a summation bank 27, the summation circuit 23 provides the operation of the direct average for the averagely calibrating values of the pixels (or CCDs). The direct average for the m_(th) pixel scanned with n times is a summation of VD_(R)(1,m), VD_(R)(2,m), VD_(R)(3,m), . . . , and VD_(R)(n,m), divided by n. Thus, the image scanning device can apply multi-time scanning on the calibration to quickly generate averagely calibrating values. Compared with conventional calibration operation with software framework, the hardware framework of the present invention only spends less than 1 second for multi-time calibration scanning, but the software framework may spends as much as 60 seconds. Furthermore, the present invention also provides an alarm function for the sake of overflowing during operation of the summation circuit 23.

[0029]FIG. 4 shows a flow chart illustrating the calibration method in accordance with the present invention. Users can choose any calibration chart and the CCDs of the image scanning system scan the calibration chart with multitude times for capturing the calibration information with multi times (step 30). The first-time scanned calibration information is first saved in the calibration memory as default information (step 31). Then the subsequent scanned calibration information is operated with the first-time (prior-time) scanned calibration information by the calibration system (step 32). Next, the latest operated calibration information is stored in the calibration memory to renew one originally stored therein (step 33). When the multi-time scanned calibration information is implemented through the operation by the calibration system, the calibration system outputs the averagely calibrating values of the CCDs (step 34).

[0030] While this invention has been described with reference to illustrative embodiments, this description is not intended to be construed in a limiting sense. Various modifications and combinations of the illustrative embodiments, as well as other embodiments of the invention, will be apparent to persons skilled in the art upon reference to the description. It is therefore intended that the appended claims encompass any such modifications or embodiments. 

What is claimed is:
 1. A calibration circuit for outputting an average calibration value used in an image-capture apparatus, said calibration circuit comprising: difference means accepting a plurality of digital signals from capturing a pixel of a calibration chart, said difference means for operating each said digital signal with subtracting a base value, whereby filters any aberrant said digital signal; divider means accepting said digital signals for operating each said digital signal with dividing a number of scanned times, whereby prevents an operation of any said signal from overflowing; and direct average means accepting said digital signals for summing said digital signals and then dividing said number of scanned times, whereby speeds a calibration operation.
 2. The calibration circuit according to claim 1 further comprising a round-value means accepting said digital signals for operating each said digital signal with adding a parameter value and dividing said number of scanned times, whereby prevents said operation of any said digital signal from truncation.
 3. The calibration circuit according to claim 1, wherein said difference means comprises generating said average calibration value by dividing a summation of each said digital signal subtracting said base value by said number of scanned times and whereby is added said base value up.
 4. The calibration circuit according to claim 1, wherein said difference means comprises comparing each said digital signal with a level-range value that determines a reasonable bandwidth of said digital signals.
 5. The calibration circuit according to claim 1, wherein said divider means comprises generating said average calibrating value by adding each said digital signal divided by said number of scanned times up.
 6. The calibration circuit according to claim 1, wherein said number of scanned times is at least
 2. 7. A calibration system used in a scanner, said calibration system comprising: memory means for storing at least a first digital signal from scanning a pixel of a calibration chart by a first time; difference means accepting said first digital signal and at least a second digital signal from scanning said pixel, said difference means for operating a first summation of said first digital signal subtracting a base value and said second digital signal subtracting said base value, said difference means for replacing said first digital signal in said memory means by said first summation, and whereby filters any aberrant said digital signal; divider means for getting a second summation of said first digital signal divided by a number of scanned times and said second digital signal divided by said number of scanned times, said divider means for replacing said first digital signal in said memory means by said second summation, and whereby prevents an operation of any said signal from overflowing; and direct average means for getting a third summation of said first digital signal and said second digital signal, and replacing said first digital signal in said memory means by said third summation, and whereby speeds a calibration operation.
 8. The system according to claim 7 further comprising a round-value means for a first addition value of said first digital signal and a parameter value and a second addition value of said second digital signal and said parameter value, and said round-value means for getting a fourth summation of said first addition value and said second addition value.
 9. The system according to claim 8, wherein said round-value means comprises replacing said first digital signal in said memory means by said fourth summation, and whereby prevents said operation of any said digital signal from truncation.
 10. The system according to claim 7, wherein said difference means comprises generating an average calibration value by dividing said first summation by said number of scanned times and whereby is added said base value up.
 11. The system according to claim 7, wherein said difference means comprises comparing said first digital signal with a level-range value that determines a reasonable bandwidth of said first and second digital signals, and comparing said second digital signal with said level-range value.
 12. The system according to claim 7, wherein said divider means comprises assigning said second summation to an average calibrating value for said pixel.
 13. A calibration method used in a scanner, said method comprising: providing at least a first digital signal from scanning a pixel of calibration by a first time; storing at least said first digital signal in a memory zone; subjecting said first digital signal and at least a second digital signal from scanning said pixel to operating a first summation of said first digital signal subtracting a base value and said second digital signal subtracting said base value, and replacing said first digital signal in said memory zone by said first summation; getting a second summation of said first digital signal divided by a number of scanned times and said second digital signal divided by said number of scanned times, and replacing said first digital signal in said memory zone by said second summation; and getting a third summation of said first digital signal and said second digital signal, and replacing said first digital signal in said memory means by said third summation.
 14. The method according to claim 13 further comprising generating a first addition value of said first digital signal and a parameter value and a second addition value of said second digital signal and said parameter value, and getting a fourth summation of said first addition value and said second addition value.
 15. The method according to claim 14, wherein said generating step comprises replacing said first digital signal in said memory zone by said fourth summation.
 16. The method according to claim 13, wherein said subjecting step comprises generating an average calibration value for said pixel by dividing said first summation by said number of scanned times and whereby is added said base value up.
 17. The method according to claim 13, wherein said subjecting step comprises comparing said first digital signal with a level-range value that determines a reasonable bandwidth of said first and second digital signals, and comparing said second digital signal with said level-range value. 